package com.hnhs.mapper;

import com.hnhs.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
//@Mapper //交给springboot 容器管理
public interface UserMapper {

    public List<User> selectAll();
    public List<User> selectByName(String name);
    public Integer insert(User user);
    public Integer update(User user);
}
